package cn.gene.timeyan.pojo.search.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 互助帖子*
 *
 * @author LWG
 * @date 2022/7/21 14:58
 * @since 1.0.0@gene.cn
 */
@Data
@Document(indexName = "timeyan_cooperation_index")
@ApiModel(value="对应搜索的文档entity")
public class CooperationEntity implements Serializable {
    /*互助模块表 (互助表互助分类) ‘help_module*/
    //属性
    private Long moduleId;
    private String moduleName;
    private Long parentId;
    private String deep;
    private Integer isParent;
    private String moduleVisitLimit;
    private Integer moduleState;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
